class CreateComputers < ActiveRecord::Migration
  def self.up
    create_table :computers do |t|
      t.string :mac_adress
      t.string :ip_computer
      t.int :ram
      t.int :cpu
      t.int :hard_drive
      t.boolean :state_computer
      t.boolean :state_agent

      t.timestamps
    end
  end

  def self.down
    drop_table :computers
  end
end
